<?php
/* 
 *销售详情
 */
class Switch_detailAction extends TransDetailAction {
    public function _filter(&$map) {
        $key = trim($_REQUEST['keywords']);
        if(!empty($key)) {
            $map['enter_id'] = $key;
            /*
             * $map['title'] = array('like',"%".$key."%");//锚文本

            $map['webname'] = array('like',"%".$key."%");//网站名称
            $map['url'] = array('like',"%".$key."%");//url
            $map['_logic'] = "or";*/
        }
        if(!empty($_REQUEST['switch_id'])){
           $map['switch_id'] = $_REQUEST['switch_id'];
        }
    }
}
?>
